$(function(){
	var data = $("#tabContent > .tab-pane.active").data();
	var hICDId = data.hICDId;//标杆
	$("#"+tabId+" #hICDId").html(hICDId);
	//获取诊断ICD完全匹配
	$.post(contextPath+"/ICD/getICDRecord.dhc", {hICDId: hICDId}).done(function(data){
		var paramsDataTables={lengthChange:false,scrollY:'300px',order:[[ 1, "desc" ]]};
		paramsDataTables.drawCallback=drawCallback;
		var columns=[ 
						{ "data": "hICDId"},
						{ "data": "icdrDate1",
						  "render": function(obj, type, full){
							  return full.icdrDate
						  }
						},
						{ "data": "icdrUser"},
						{ "data": "icdrType1", 
						  "render": function(obj, type, full){
							  var type = full.icdrType;
							  if(type=="1"){
								  return "修改"
							  }else if(type=="2"){
								  return "删除"
							  }else{
								  return "其他"
							  }
						  }
						},
						{ "data": "icdrOldHicd"},
						{ "data": "icdrOldBjicd"},
	                 ];
		$("#"+tabId+" #icdRecord-table").dataTableBasic(columns,data.data,paramsDataTables);
	})
});